//
//  UITableView+Category.h
//  TLUIKit
//
//  Created by c on 2021/11/5.
//

#import <UIKit/UIKit.h>
/// 上下拉更新数据状态
typedef NS_ENUM(NSInteger, TLRefreshStatus) {
    /// 下拉更多数据
    TLRefreshStatusPullDownData = 1,
    /// 下拉无数据
    TLRefreshStatusPullDownNone,
    /// 上拉更多数据
    TLRefreshStatusUpData,
    /// 上拉无数据
    TLRefreshStatusUpDataNone,
    /// 刷新成功
    TLRefreshStatusSuccess,
    /// 刷新失败
    TLRefreshStatusFail,
    /// 暂无数据
    TLRefreshStatusNoData
};

@interface UITableView (Category)

- (void)addRefreshHeaderView:(void(^)(void))block;

- (void)addRefreshFooterView:(void(^)(void))block;

@end
